package com.cskaoyan.user.form;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;


@Data
public class UserLoginRequest {
    @Length(min = 6, message = "用户名至少6位")
    private String userName;
    @Length(min = 6, message = "密码至少6位")
    private String userPwd;
    @NotEmpty(message = "验证码不能为空")
    private String captcha;
}
